let Index = ()=>import("../pages/Index");
let List = ()=>import("../pages/List");
let Detail = ()=>import("../pages/Detail");
// let Search = ()=>import("../pages/Search");
let Search = ()=>import("@/pages/Search");
let TuiJian = ()=>import("@/pages/TuiJian");
// 二级路由
let Home = ()=>import("../pages/index_child/Home")
let Design = ()=>import("../pages/index_child/Design")
let Person = ()=>import("../pages/index_child/Person")


export default[{
    path:"/",
    component:Index,
    children:[{
        path:"",
        component:Home
    },{
        path:"design",
        component:Design
    },{
        path:"person",
        component:Person
    }]
},{
    path:"/list/:kindId",
    component:List
},{
    path:"/detail/:id",
    component:Detail
},{
    path:"/search",
    component:Search
},{
    path:"/tuijian/:themeId",
    component:TuiJian
}]